package top.infopub.model.cap;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.StringUtils;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author Warking
 * @Date 2021/6/6 20:21 还款计划子表
 * @Version 1.0
 */
public class RepaymentScheduleSublist extends  PublicInstance{

    /*计划还本日期 PLANNED_REPAYMENT_DATE*/
    @JsonFormat(pattern="yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date plannedRepaymentDate;
    /*计划还款金额 PLANNED_REPAYMENT_AMOUNT*/
    private BigDecimal plannedRepaymentAmount;
    /*主表ID CAP_REPAYMENT_SCHEDULE_ID*/
    private String repaymentScheduleId;

    public Date getPlannedRepaymentDate() {
        return plannedRepaymentDate;
    }

    public void setPlannedRepaymentDate(Date plannedRepaymentDate) {
        this.plannedRepaymentDate = plannedRepaymentDate;
    }

    public BigDecimal getPlannedRepaymentAmount() {
        return plannedRepaymentAmount;
    }

    public void setPlannedRepaymentAmount(BigDecimal plannedRepaymentAmount) {
        this.plannedRepaymentAmount = plannedRepaymentAmount;
    }

    public String getRepaymentScheduleId() {
        return repaymentScheduleId;
    }

    public void setRepaymentScheduleId(String repaymentScheduleId) {
        this.repaymentScheduleId = repaymentScheduleId;
    }
}
